# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\Dropbox\Trading2013\KunTrading\KCharts\KChartsWidget.ui'
#
# Created: Tue Aug 13 15:41:54 2013
#      by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_KChartsWidget(object):
    def setupUi(self, KChartsWidget):
        KChartsWidget.setObjectName(_fromUtf8("KChartsWidget"))
        KChartsWidget.resize(949, 668)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(KChartsWidget.sizePolicy().hasHeightForWidth())
        KChartsWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QtGui.QHBoxLayout(KChartsWidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.LeftContainer = QtGui.QFrame(KChartsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.LeftContainer.sizePolicy().hasHeightForWidth())
        self.LeftContainer.setSizePolicy(sizePolicy)
        self.LeftContainer.setFrameShape(QtGui.QFrame.StyledPanel)
        self.LeftContainer.setFrameShadow(QtGui.QFrame.Raised)
        self.LeftContainer.setObjectName(_fromUtf8("LeftContainer"))
        self.horizontalLayout.addWidget(self.LeftContainer)
        self.RightContainer = QtGui.QFrame(KChartsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RightContainer.sizePolicy().hasHeightForWidth())
        self.RightContainer.setSizePolicy(sizePolicy)
        self.RightContainer.setFrameShape(QtGui.QFrame.StyledPanel)
        self.RightContainer.setFrameShadow(QtGui.QFrame.Raised)
        self.RightContainer.setObjectName(_fromUtf8("RightContainer"))
        self.verticalLayout = QtGui.QVBoxLayout(self.RightContainer)
        self.verticalLayout.setSpacing(2)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.ChartContainer = QtGui.QFrame(self.RightContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ChartContainer.sizePolicy().hasHeightForWidth())
        self.ChartContainer.setSizePolicy(sizePolicy)
        self.ChartContainer.setFrameShape(QtGui.QFrame.StyledPanel)
        self.ChartContainer.setFrameShadow(QtGui.QFrame.Raised)
        self.ChartContainer.setObjectName(_fromUtf8("ChartContainer"))
        self.verticalLayout.addWidget(self.ChartContainer)
        self.ScaleContainer = QtGui.QFrame(self.RightContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ScaleContainer.sizePolicy().hasHeightForWidth())
        self.ScaleContainer.setSizePolicy(sizePolicy)
        self.ScaleContainer.setFrameShape(QtGui.QFrame.StyledPanel)
        self.ScaleContainer.setFrameShadow(QtGui.QFrame.Raised)
        self.ScaleContainer.setObjectName(_fromUtf8("ScaleContainer"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.ScaleContainer)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label = QtGui.QLabel(self.ScaleContainer)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_3.addWidget(self.label)
        self.BarTimeRange = QtGui.QScrollBar(self.ScaleContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BarTimeRange.sizePolicy().hasHeightForWidth())
        self.BarTimeRange.setSizePolicy(sizePolicy)
        self.BarTimeRange.setOrientation(QtCore.Qt.Horizontal)
        self.BarTimeRange.setObjectName(_fromUtf8("BarTimeRange"))
        self.horizontalLayout_3.addWidget(self.BarTimeRange)
        self.label_2 = QtGui.QLabel(self.ScaleContainer)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_3.addWidget(self.label_2)
        self.BtnTimeScale = QtGui.QScrollBar(self.ScaleContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BtnTimeScale.sizePolicy().hasHeightForWidth())
        self.BtnTimeScale.setSizePolicy(sizePolicy)
        self.BtnTimeScale.setOrientation(QtCore.Qt.Horizontal)
        self.BtnTimeScale.setObjectName(_fromUtf8("BtnTimeScale"))
        self.horizontalLayout_3.addWidget(self.BtnTimeScale)
        self.label_3 = QtGui.QLabel(self.ScaleContainer)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_3.addWidget(self.label_3)
        self.BtnBarCount = QtGui.QScrollBar(self.ScaleContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BtnBarCount.sizePolicy().hasHeightForWidth())
        self.BtnBarCount.setSizePolicy(sizePolicy)
        self.BtnBarCount.setOrientation(QtCore.Qt.Horizontal)
        self.BtnBarCount.setObjectName(_fromUtf8("BtnBarCount"))
        self.horizontalLayout_3.addWidget(self.BtnBarCount)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout.addWidget(self.ScaleContainer)
        self.horizontalLayout.addWidget(self.RightContainer)

        self.retranslateUi(KChartsWidget)
        QtCore.QMetaObject.connectSlotsByName(KChartsWidget)

    def retranslateUi(self, KChartsWidget):
        KChartsWidget.setWindowTitle(_translate("KChartsWidget", "Form", None))
        self.label.setText(_translate("KChartsWidget", "Position:", None))
        self.label_2.setText(_translate("KChartsWidget", "Bar Scale:", None))
        self.label_3.setText(_translate("KChartsWidget", "Bar Count: ", None))

